﻿@using DeviceMaintainGIS.Model.LocaTypeTab;
@{
    Layout = null;
    List<LocaTypeModel> LocaTypeList = ViewBag.LocaTypeList;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>基站添加</title>
</head>
<body>
    <div style="padding: 15px; overflow: hidden">
        <form id="UserAddForm" method="post" action="">
            <table class="tableForm" width="100%">
                <tr>
                    <th>
                        基站名称：
                    </th>
                    <td>
                        <input type="text" name="txtLocaName" id="txtLocaName" class="easyui-validatebox textbox" data-options="required:true"  style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        基站类型：
                    </th>
                    <td>
                        <select id="LocaType">
                            <option value="">-- 请选择 --</option>
                            @foreach (LocaTypeModel ltm in LocaTypeList)
                            {
                                <option value="@ltm.LocaTypeId">@ltm.LocaTyp</option>
                            }

                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        安装高度：
                    </th>
                    <td>
                        <input type="text" name="txtLocaHigh" id="txtLocaHigh" class="easyui-numberbox" data-options="required:true," style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        海拔：
                    </th>
                    <td>
                        <input type="text" name="txtAltitude" id="txtAltitude" class="easyui-numberbox" data-options="required:true," style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        描述：
                    </th>
                    <td>
                        <textarea rows="3" cols="50" name="txtDescribe" id="txtDescribe" class="easyui-validatebox" data-options="required:true," ></textarea>
                    </td>
                </tr>
                <tr>
                    <th>
                        链路方式：
                    </th>
                    <td>
                        <select id="Link" data-options="required:true," >
                            <option value="">-- 请选择 --</option>
                            <option value="1">无线</option>
                            <option value="2">有线</option>
                            <option value="3">租用光缆</option>
                            <option value="4">自建光缆</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        供电方式：
                    </th>
                    <td>
                        <select id="PowerMode" data-options="required:true," >
                            <option value="">-- 请选择 --</option>
                            <option value="1">太阳能</option>
                            <option value="2">市电</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        区县：
                    </th>
                    <td>
                        <input type="text" name="txtDistrict" id="txtDistrict" class="easyui-validatebox textbox" data-options="required:true" style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        乡镇：
                    </th>
                    <td>
                        <input type="text" name="txtTown" id="txtTown" class="easyui-validatebox textbox"  data-options="required:true," style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        经度：
                    </th>
                    <td>
                        <input type="text" name="txtLongitude" id="txtLongitude" class="easyui-validatebox textbox" data-options="required:true,"  validType="checkLongitude" style="width:170px;height:22px;display:none" />
                        <input type="text" name="txtLongitudeDegree" id="txtLongitudeDegree" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />度
                        <input type="text" name="txtLongitudeBranch" id="txtLongitudeBranch" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />分
                        <input type="text" name="txtLongitudeSecond" id="txtLongitudeSecond" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />秒
                    </td>
                </tr>
                <tr>
                    <th>
                        纬度：
                    </th>
                    <td>
                        <input type="text" name="txtLatitude" id="txtLatitude" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:170px;height:22px;display:none" />
                        <input type="text" name="txtLatitudeDegree" id="txtLatitudeDegree" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />度
                        <input type="text" name="txtLatitudeBranch" id="txtLatitudeBranch" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />分
                        <input type="text" name="txtLatitudeSecond" id="txtLatitudeSecond" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />秒
                        <input type="button" value="地图拾取" onclick="MapPickup(1)"/>
                    </td>


                </tr>

                <tr>
                    <th>
                        导航经度：
                    </th>
                    <td>
                        <input type="text" name="txtNaviLongitudeDegree" id="txtNaviLongitudeDegree" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />度
                        <input type="text" name="txtNaviLongitudeBranch" id="txtNaviLongitudeBranch" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />分
                        <input type="text" name="txtNaviLongitudeSecond" id="txtNaviLongitudeSecond" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />秒
                        <input type="text" name="txtNaviLongitude" id="txtNaviLongitude" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:170px;height:22px;display:none" />
                    </td>
                </tr>
                <tr>
                    <th>
                        导航纬度：
                    </th>
                    <td>
                        <input type="text" name="txtNaviLatitude" id="txtNaviLatitude" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:170px;height:22px;display:none" />
                        <input type="text" name="txtNaviLatitudeDegree" id="txtNaviLatitudeDegree" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />度
                        <input type="text" name="txtNaviLatitudeBranch" id="txtNaviLatitudeBranch" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />分
                        <input type="text" name="txtNaviLatitudeSecond" id="txtNaviLatitudeSecond" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />秒
                        <input type="button" value="地图拾取" onclick="MapPickup(2)" />
                    </td>

                </tr>
                <tr>
                    <th>
                        停车经度：
                    </th>
                    <td>
                        <input type="text" name="txtStopLongitudeDegree" id="txtStopLongitudeDegree" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />度
                        <input type="text" name="txtStopLongitudeBranch" id="txtStopLongitudeBranch" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />分
                        <input type="text" name="txtStopLongitudeSecond" id="txtStopLongitudeSecond" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:70px;height:22px;" />秒
                        <input type="text" name="txtStopLongitude" id="txtStopLongitude" class="easyui-validatebox textbox" data-options="required:true," validType="checkLongitude" style="width:170px;height:22px;display:none" />
                    </td>
                </tr>
                <tr>
                    <th>
                        停车纬度：
                    </th>
                    <td>
                        
                        <input type="text" name="txtStopLatitude" id="txtStopLatitude" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:170px;height:22px;display:none" />
                        <input type="text" name="txtStopLatitudeDegree" id="txtStopLatitudeDegree" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />度
                        <input type="text" name="txtStopLatitudeBranch" id="txtStopLatitudeBranch" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />分
                        <input type="text" name="txtStopLatitudeSecond" id="txtStopLatitudeSecond" class="easyui-validatebox textbox" data-options="required:true," validType="checkLatitude" style="width:70px;height:22px;" />秒
                        <input type="button" value="地图拾取" onclick="MapPickup(3)" />
                    </td>

                <tr>
                    <th>
                        周边村落：
                    </th>
                    <td>
                        <input type="text" name="txtVillage" id="txtVillage" class="easyui-validatebox textbox" data-options="required:true," style="width:170px;height:22px;" />
                    </td>
                </tr>
                <tr>
                    <th>
                        备注：
                    </th>
                    <td>
                        @*<input type="text" name="txtRemark" id="txtRemark" class="easyui-validatebox"  style="width:170px;height:22px;" />*@
                        <textarea rows="3" cols="50" name="txtRemark" id="txtRemark" class="easyui-validatebox" ></textarea>
                    </td>
                </tr>

                @*<tr>
                    <th>
                       
                    </th>
                    <td>
                        <input type="button" id="LocaManagerBtn" onclick="addTr()" value="添加责任人">
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <table id="LocaManagerTabl" class="tableForm" width="100%">

                        </table>
                    </td>
                </tr>*@
            </table>
        </form>
    </div>

</body>
</html>
